package com.wchat.bean.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * (UserGroups)实体类
 *
 * @author makejava
 * @since 2021-08-27 09:38:35
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserGroups implements Serializable {
    private static final long serialVersionUID = 706695297974000068L;

    @TableId(type = IdType.AUTO)

    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 群组id
     */
    private Integer groupId;
    /**
     * 群昵称
     */
    private String nick;
    /**
     * 群设置 接收但是不提醒  屏蔽群消息
     */
    private String status;
    /**
     * 加群时间
     */
    private Date created;

    private Date updated;

}
